﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="AUnionAdd.aspx.cs" Inherits="ActiveProductTrace_ManageActiveProduct_ManageAUnion_AUnionAdd"
    Title="无标题页" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

    <script type="text/javascript" src="../../../js/JudgeInput.js"></script>

    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <div style="text-align: center;">
                <br />
                <br />
                <br />
                <br />
                <br />
                <table style="width: 60%; border: solid 1px black; margin: 0 auto;">
                    <tr>
                        <td>
                            产品类型：
                        </td>
                        <td>
                            <asp:TextBox ID="TextBox4" runat="server" TabIndex="1"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="TextBox4"
                                ErrorMessage="*" ValidationGroup="VGroup1"></asp:RequiredFieldValidator>
                        </td>
                        <td rowspan="3">
                            <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" TabIndex="4" Text="提 交"
                                ValidationGroup="VGroup1" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            成品序列号：
                        </td>
                        <td>
                            <asp:TextBox ID="TextBox1" runat="server" TabIndex="2"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1"
                                ErrorMessage="*" ValidationGroup="VGroup1"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            PCBA序列号：
                        </td>
                        <td>
                            <asp:TextBox ID="TextBox3" runat="server" TabIndex="3"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="TextBox3"
                                ErrorMessage="*" ValidationGroup="VGroup1"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                </table>
                <br />
                <br />
                <div style="text-align: center;">
                    <br />
                    <table style="width: 60%; border: solid 1px black; margin: 0 auto;">
                        <tr>
                            <td>
                                查询成品序列号是否有关联记录：
                            </td>
                            <td>
                                <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TextBox2"
                                    ErrorMessage="*" ValidationGroup="VGroup2"></asp:RequiredFieldValidator>
                            </td>
                            <td>
                                <asp:Button ID="Button2" runat="server" Text="查 询" ValidationGroup="VGroup2" OnClick="Button2_Click" />
                            </td>
                        </tr>
                        <tr>
                            <td colspan="3">
                                <asp:DetailsView ID="DetailsView1" runat="server" AutoGenerateRows="False" BackColor="White"
                                    BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" CellPadding="3" CellSpacing="1"
                                    GridLines="None" Height="50px" Width="100%">
                                    <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
                                    <RowStyle BackColor="#DEDFDE" ForeColor="Black" />
                                    <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
                                    <Fields>
                                        <asp:BoundField DataField="PackageProductSN" HeaderText="成品序列号" />
                                        <asp:BoundField DataField="PCBASN" HeaderText="PCBA序列号" />
                                        <asp:BoundField DataField="ProductTypeID" HeaderText="产品类型" />
                                        <asp:BoundField DataField="RecordTime" HeaderText="记录时间" />
                                        <asp:BoundField DataField="UserID" HeaderText="操作员" />
                                    </Fields>
                                    <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
                                    <EditRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
                                </asp:DetailsView>
                                <br />
                                <br />
                            </td>
                        </tr>
                    </table>
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                </div>
                <br />
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
